<%@ Page Language="C#" AutoEventWireup="true" Codebehind="AJAXTest.aspx.cs" Inherits="Main.AJAXTest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="true" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
            <ContentTemplate>
                <div style="padding: 5px; border: solid 3px black; background-color: gray; color: White">
                    This Label is inside the update panel:<br />
                    <asp:Label ID="UpdatePanelLabel" runat="server" Text="Label"></asp:Label><br />
                    <asp:Button ID="UpdatePanelButton" runat="server" Text="Partial Postback" /><br />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <br />
        <br />
        <div style="padding: 5px; border: solid 3px black; background-color: White; color: Black">
            This Label is inside the update panel:<br />
            <asp:Label ID="StandardLabel" runat="server" Text="Label"></asp:Label><br />
            <asp:Button ID="StandardButton" runat="server" Text="Full Postback" /><br />
        </div>
    </form>
</body>
</html>
